<%@ page contentType="text/html; charset=UTF-8" language="java"%>
<%@ page import="com.hzqy.commons.utils.ConstantUtils" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>内容修改</title>
<link rel="stylesheet" type="text/css"	href="../static/js/themes/defalut.css">
<link rel="stylesheet" type="text/css"	href="../static/js/themes/public.css">
<link rel="stylesheet" type="text/css"	href="../static/js/themes/ddspstyle.css">
<link rel="stylesheet" type="text/css"	href="../static/js/themes/default/easyui.css">
<link rel="stylesheet" type="text/css"	href="../static/js/themes/icon.css">
<link rel="stylesheet" type="text/css"	href="../static/js/WdatePicker/skin/WdatePicker.css">
<script type="text/javascript" src="../static/js/jquery.min.js"></script>
<script type="text/javascript" src="../static/js/jquery.easyui.min.js"></script>
<script type="text/javascript"	src="../static/js/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="../static/js/jquery.validate.js"></script>
<script type="text/javascript" src="../static/js/index.js"></script>
<script type="text/javascript" src="../static/js/WdatePicker/WdatePicker.js"></script>
<script type="text/javascript" charset="utf-8" src="../ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="../ueditor/ueditor.all.min.js"></script>
<script type="text/javascript" charset="utf-8" src="../ueditor/lang/zh-cn/zh-cn.js"></script>


<link href="../static/stream/css/stream-v1.css" rel="stylesheet" type="text/css">
<link href="../static/bootstrap-3.3.5/css/bootstrap.min.css" rel="stylesheet">
<script type="text/javascript" src="../static/stream/js/bootstrap.min.js"></script>
<script type="text/javascript" src="../static/stream/js/stream-v1.js"></script>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<%
	String para =request.getParameter("f_cc_id");
	int f_cc_id = 0;
	if(para != null)
		f_cc_id = Integer.valueOf(para);
	
	String img_url = session.getServletContext().getInitParameter("img_url");
	String []nonceObj=ConstantUtils.getNonceObject();
%>
<script type="text/javascript">
	var ids = "";
	var transfer_video_file_path = '';
	$(function() {
		var img_url = '<%=img_url%>';
		var f_cc_id = <%=f_cc_id%>;
		window.stream_upload_content_id = f_cc_id;
		$.ajax({
			url:"../product/product_list.do",
			data: {f_sp_status: 1, f_sp_id: 0 ,page:1 ,rows:1000},
			success:function(data) {
				data = JSON.parse(data).rows;
				var str = "";
				for(var i=0;i<data.length;i++) {
					str+='<option value="'+data[i].f_sp_id+'">'+data[i].f_sp_name+'</option>';
				}
				$("#f_cc_productid").append(str);
				
				$.ajax({
					url:"select_content.do?f_cc_id="+f_cc_id,
					success:function(data) {
						data = JSON.parse(data);
						$("#f_cc_id").val(data.f_cc_id);
						$("#f_cc_code").val(data.f_cc_code);
						$("#f_cc_name").val(data.f_cc_name);
						$("#f_cc_company_id").val(data.f_cc_companyid);
						ids = data.f_cc_companyid;
						$("#f_cc_company_name").val(data.f_cc_companyname);
						$("#f_cc_searchname").val(data.f_cc_searchname);
						$("#f_cc_tags").val(data.f_cc_tags);
						$("#f_cc_type").val(data.f_cc_type);
						$("#f_cc_desc").val(data.f_cc_desc);
						$("#f_cc_onlinedate").val(data.f_cc_onlinedate.substring(0,19));
						$("#f_cc_offlinedate").val(data.f_cc_offlinedate.substring(0,19));
						$("#f_cc_director").val(data.f_cc_director);
						$("#f_cc_actors").val(data.f_cc_actors);
						$("#f_cc_screenwriter").val(data.f_cc_screenwriter);
						$("#f_cc_end").val(data.f_cc_end);
						$("#f_cc_seriescount").val(data.f_cc_seriescount);
						$("#f_cc_obligate1").val(data.f_cc_obligate1);
						$("#f_cc_obligate2").val(data.f_cc_obligate2);
						$("#f_cc_obligate3").val(data.f_cc_obligate3);
						$("#f_cc_obligate4").val(data.f_cc_obligate4);
						$("#f_cc_interfaceType").val(data.f_cc_interfaceType);
						$("#f_cc_definitionflag").val(data.f_cc_definitionflag);
						$("#f_cc_duration").val(data.f_cc_duration);
						$("#f_cc_mediacode").val(data.f_cc_mediacode);
						$("#f_cc_productid").val(data.f_cc_productid);
						$("#f_cc_productname").val(data.f_cc_productname);
						
						if(data.f_cc_isfree == 1){
							document.getElementById("isfree").checked=true;
						}
						if(data.f_cc_status==11){//待处理
							$("#tg").show();
							$("#btg").show();
						}
						if(data.f_cc_type == 7) {
							transfer_video_file_path = img_url + 'vol-itv/files/input/' + data.f_cc_code;
							$("#transfer_video_operation").removeClass("hide");
						}
						
						try{
							var ue = UE.getEditor('f_cc_desc');
						}catch(e){
							console.info(e);
						}
						
					}
				});
			}
		});
		
		$("#contentForm").validate({
			rules: {
				f_cc_name: {
					required: true,
					minlength: 1,
					maxlength: 50
				},
				f_cc_companyname: {
					required: true
				},
				f_cc_onlinedate: {
					required: true,
					date: true
				},
				f_cc_offlinedate: {
					required: true,
					date: true
				},
				f_cc_seriescount: {
					required: true
				},
				f_cc_obligate3: {
					required: true
				},
				f_cc_obligate4: {
					required: true
				}
				
			},
			messages: {
				f_cc_name: {
					required: "请输入内容名称",
					minlength: "内容名称不能少于1位",
					maxlength: "内容名称不能超过50位"
				},
				f_cc_companyname: {
					required: "请选择企业",
				},
				f_cc_onlinedate: {
					required: "请选择上线日期",
					date: "请输入正确的日期"
				},
				f_cc_offlinedate: {
					required: "请选择下线日期",
					date: "请输入正确的日期"
				},
				f_cc_seriescount: {
					required: "请输入内容名称"
				},
				f_cc_obligate3: {
					required: "请输入内容"
				},
				f_cc_obligate4: {
					required: "请输入内容"
				}
			},
			
		});
		
		moreItemSwitch();
		$("#f_cc_seriescount").val(1);
		$("#f_cc_obligate3").val(0);
		$("#f_cc_obligate4").val(0);
	});

	function _gt(){
		$.ajax({
			url:"update_content_status.do?f_cc_id=<%=f_cc_id%>&f_cc_status=1",
			success:function(data) {
				data = JSON.parse(data);
				if (data.success) {
					$.messager.progress('close');
					$.messager.alert('提示', '提交成功！', 'info', function() {
						parent.$('#dlg').dialog('close');
						parent.gotoSearch($('#easyui-treegrid'));
					});
				} else {
					$.messager.alert('提示', data.result, 'info', function() {
						$.messager.progress('close');
					});
				}
			}
		});
	}
	
	function _btg(){
		$.ajax({
			url:"update_content_status.do?f_cc_id=<%=f_cc_id%>&f_cc_status=12",
			success:function(data) {
				data = JSON.parse(data);
				if (data.success) {
					$.messager.progress('close');
					$.messager.alert('提示', '提交成功！', 'info', function() {
						parent.$('#dlg').dialog('close');
						parent.gotoSearch($('#easyui-treegrid'));
					});
				} else {
					$.messager.alert('提示', data.result, 'info', function() {
						$.messager.progress('close');
					});
				}
			}
		});
	}
	
	function _submitFm() {
		if(document.getElementById("isfree").checked){
			document.getElementById("f_cc_isfree").value = 1;
		}
		if(ids!=$("#f_cc_company_id").val()){
			$("#status").val("change");
		}
		arrayToJson();
		if($("#contentForm").validate().form()) {
		app_ajax('update_content.do', $("#contentForm").serialize(), function(data) {
				if (data.success) {
					$.messager.progress('close');
					$.messager.alert('提示', '提交成功！', 'info', function() {
						parent.$('#dlg').dialog('close');
						parent.gotoSearch($('#easyui-treegrid'));
					});
				} else {
					$.messager.alert('提示', data.result, 'info', function() {
						$.messager.progress('close');
					});
				}
		});
	  }
	}
	
	var _open = true;
	function moreItemSwitch(){
		if(_open){
			$(".hide-item").hide();
			$("#switchItemBtn").find(".l-btn-text").text("显示更多内容");
			$("#switchItemBtn").find(".l-btn-icon.icon-remove").removeClass("icon-remove").addClass("icon-add");
		}else{
			$(".hide-item").show();
			$("#switchItemBtn").find(".l-btn-text").text("隐藏更多内容");
			$("#switchItemBtn").find(".l-btn-icon.icon-add").removeClass("icon-add").addClass("icon-remove");
		}
		_open = !_open;
	}
	
	function castSelect(id){
		openDialog($('#cast_list'),'content_cast.jsp?id='+id);
	}
	
	function bind(id) {
		openDialog($('#dlg'),'org_bind.jsp?f_cc_id='+id+'&chooseid='+$("#f_cc_company_id").val());
	}
	
	function bindProduct() {
		openDialog($('#dlg_product'),'product_bind.jsp?chooseid='+$("#f_cc_productid").val());
	}
	
	function uploadTransferVideo() {
		
	}

	function downloadTransferVideo() {
		window.open(transfer_video_file_path);
	}
</script>
</head>

<body class="overfwidth">
	<div class="barnavtop">您所在的位置：内容管理 &gt; 内容修改</div>
	<div id="workspace">
		<!--主体 开始-->
		<div id="container">
			<div class="editspace">
				<form id="contentForm" class="cmxform" enctype="multipart/form-data" name="formName">
					<input type="hidden" id="f_cc_id" name="f_cc_id" value="" />
					<input type="hidden" id="f_cc_status" name="f_cc_status" value="0"/>
					<input type="hidden" id="f_cast_id" name="f_cast_id" value="0"/>
					<input type="hidden" id="f_cc_isfree" name="f_cc_isfree" value="0"/>
					<input type="hidden" id="f_cc_definitionflag" name="f_cc_definitionflag" value=""/>
					<input type="hidden" name="stime" value="<%=nonceObj[0]%>"/>
					<input type="hidden" name="sign" value="<%=nonceObj[1]%>"/>
					<legend>内容修改</legend>
					<a id="switchItemBtn" class="easyui-linkbutton" style="position: fixed; top: 70px; right: 0; background: #D2E0F2; border: 1px solid #95B8E7;" data-options="iconCls:'icon-remove'" plain="true" href="javascript:moreItemSwitch();">隐藏更多内容</a>
					<fieldset>
						<div class="fitem">
							<table width="100%" border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td width="20%" align="right">
										<span class="red">*</span>内容名称:
									</td>
									<td width="30%">
										<input id="f_cc_name" name="f_cc_name" style="width: 150px;" value="" class="yl_inp yw_name" />
										<span id="f_cc_name_tip" class="tip"></span>
									</td>
									<td class="hide-item" width="20%" align="right">
										&nbsp;查询名称:
									</td>
									<td class="hide-item" width="30%">
										<input id="f_cc_searchname" name="f_cc_searchname" style="width: 150px;" value="" class="yl_inp yw_name" />
										<span id="f_cc_searchname_tip" class="tip"></span>
									</td>
								</tr>
							</table>
						</div>
					</fieldset>
					
					<fieldset>
						<div class="fitem">
							<table width="100%" border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td width="20%" align="right">
										<span class="red">*</span>组织选择:
									</td>
									<td width="30%">
										<input name="f_cc_companyname" id="f_cc_company_name" readonly="readonly"	style="width: 150px;" value="" class="yl_inp yw_name" />
										<input name="f_cc_companyid" id="f_cc_company_id" type="hidden" value="" />  
										<input name="status" id="status" type="hidden" value="nochange" />  
										<!-- <select id="f_cc_companyid" name="f_cc_companyid" style="width: 150px;">
										</select> -->
										<!-- <span id="f_cc_companyid_tip" class="tip"></span> -->
										<a id="12" class="easyui-linkbutton" data-options="iconCls:'icon-ok'" href="javascript:void(0);"
											onclick="bind(<%=f_cc_id%>);">选择</a>
									</td>
									<td class="hide-item" width="20%" align="right">
										&nbsp;标签:
									</td>
									<td class="hide-item" width="30%">
										<input id="f_cc_tags" name="f_cc_tags" style="width: 150px;" value="" class="yl_inp yw_name" />
										<span id="f_cc_tags_tip" class="tip"></span>
									</td>
								</tr>
							</table>
						</div>
					</fieldset>
					
					<fieldset>
						<div class="fitem">
							<table width="100%" border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td width="20%" align="right">
										&nbsp;内容类型:
									</td>
									<td width="30%">
										<select id="f_cc_type" name="f_cc_type" style="width: 150px;">
											<option value="1">电视剧</option>
											<option value="2">电影</option>
											<option value="3">直播</option>
											<option value="4">图文</option>
											<option value="5">链接</option>
											<option value="7">转码视频</option>
											<option value="20">组织模板</option>
											<option value="100">业务账号</option>
											<option value="110">其他</option>
											<option value="50">参赛人员</option>
											<option value="10">广告</option>
										</select>
									</td>
									<td class="hide-item" width="20%" align="right">
										&nbsp;导演:
									</td>
									<td class="hide-item" width="30%">
											<input id="f_cc_director" name="f_cc_director" style="width: 150px;" value="" class="yl_inp yw_name" />
										<span id="f_cc_director_tip" class="tip"></span>
										<a id="12" class="easyui-linkbutton" data-options="iconCls:'icon-ok'" href="javascript:void(0);"
											onclick="castSelect(3)">选择</a>
									</td>
								</tr>
							</table>
						</div>
					</fieldset>
					
					<fieldset>
						<div class="fitem">
							<table width="100%" border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td width="20%" align="right">
										接口类型:
									</td>
									<td width="30%">
										<select name="f_cc_interfaceType" id="f_cc_interfaceType" style="width: 150px;">
										<option value="1">华为中兴</option>
										<option value="2">中兴</option>
										<option value="3">华为</option>
										</select>
									</td>
								</tr>
							</table>
						</div>
					</fieldset>
					
					<fieldset>
						<div class="fitem">
							<table width="100%" border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td width="20%" align="right">
										产品选择:
									</td>
									<td width="30%">
										<input name="f_cc_productname" id="f_cc_productname" readonly="readonly"	style="width: 150px;" value="" class="yl_inp yw_name" />
										<input name="f_cc_productid" id="f_cc_productid" type="hidden" value="" />  
										<a class="easyui-linkbutton" data-options="iconCls:'icon-ok'" href="javascript:void(0);"
											onclick="bindProduct();">选择</a>
									</td>
								</tr>
							</table>
						</div>
					</fieldset>
					
					<fieldset>
						<div class="fitem">
							<table width="100%" border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td width="20%" align="right">
										<span class="red">*</span>上线时间:
									</td>
									<td width="30%">
										<input id="f_cc_onlinedate" name="f_cc_onlinedate" type="text" onClick="WdatePicker({skin:'default',dateFmt: 'yyyy-MM-dd HH:mm:ss'})" style="width: 150px;" value="" class="yl_inp yw_name Wdate" />
										<span id="f_cc_onlinedate" class="tip"></span>
									</td>
									<td class="hide-item" width="20%" align="right">
										&nbsp;演员列表:
									</td>
									<td class="hide-item" width="30%">
										<input id="f_cc_actors" name="f_cc_actors" style="width: 150px;" value="" class="yl_inp yw_name" />
										<span id="f_cc_actors_tip" class="tip"></span>
										<a id="12" class="easyui-linkbutton" data-options="iconCls:'icon-ok'" href="javascript:void(0);"
											onclick="castSelect(2)">选择</a>
									</td>
								</tr>
							</table>
						</div>
					</fieldset>
					
					<fieldset>
						<div class="fitem">
							<table width="100%" border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td width="20%" align="right">
										<span class="red">*</span>下线时间:
									</td>
									<td width="30%">
										<input id="f_cc_offlinedate" name="f_cc_offlinedate" type="text" onClick="WdatePicker({skin:'default',dateFmt: 'yyyy-MM-dd HH:mm:ss'})" style="width: 150px;" value="" class="yl_inp yw_name Wdate" />
										<span id="f_cc_offlinedate" class="tip"></span>
									</td>
									<td class="hide-item" width="20%" align="right">
										&nbsp;编剧:
									</td>
									<td class="hide-item" width="30%">
										<input id="f_cc_screenwriter" name="f_cc_screenwriter" style="width: 150px;" value="" class="yl_inp yw_name" />
										<span id="f_cc_screenwriter_tip" class="tip"></span>
										<a id="12" class="easyui-linkbutton" data-options="iconCls:'icon-ok'" href="javascript:void(0);"
											onclick="castSelect(1)">选择</a>
									</td>
								</tr>
							</table>
						</div>
					</fieldset>
					
					<fieldset>
						<div class="fitem">
							<table width="100%" border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td width="20%" align="right">
										&nbsp;内容Code:
									</td>
									<td width="30%">
										<input id="f_cc_code" name="f_cc_code" style="width: 150px;" value="" class="yl_inp yw_name" />
										<span id="f_cc_code_tip" class="tip"></span>
									</td>
									<td class="hide-item" width="20%" align="right">
										<span class="red">*</span>总集数:
									</td>
									<td class="hide-item" width="30%">
										<input id="f_cc_seriescount" name="f_cc_seriescount" style="width: 150px;" value="" class="yl_inp yw_name" />
										<span id="f_cc_name_tip" class="tip"></span>
									</td>
								</tr>
							</table>
						</div>
					</fieldset>
					
					<fieldset>
						<div class="fitem">
							<table width="100%" border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td width="20%" align="right">
										&nbsp;部位:
									</td>
									<td width="30%">
										<input id="f_cc_duration" name="f_cc_duration" style="width: 150px;" value="" class="yl_inp yw_name" />
										<span id="f_cc_duration_tip" class="tip"></span>
									</td>
									<td class="hide-item" width="20%" align="right">
										&nbsp;性别:
									</td>
									<td class="hide-item" width="30%">
										<input id="f_cc_mediacode" name="f_cc_mediacode" style="width: 150px;" value="" class="yl_inp yw_name" />
										<span id="f_cc_mediacode" class="tip"></span>
									</td>
								</tr>
							</table>
						</div>
					</fieldset>
					
					<fieldset class="hide-item">
						<div class="fitem">
							<table width="100%" border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td width="20%" align="right">
										基础:
									</td>
									<td width="30%">
										<textarea id="f_cc_obligate1" name="f_cc_obligate1" style="width: 150px; height: 50px;"></textarea>
									</td>
									<td width="20%" align="right">
										目标:
									</td>
									<td width="30%">
										<textarea id="f_cc_obligate2" name="f_cc_obligate2" style="width: 150px; height: 50px;"></textarea>
									</td>
								</tr>
								<tr>
									<td width="20%" align="right">
										<span class="red">*</span>总课程数:
									</td>
									<td width="30%">
										<input id="f_cc_obligate3" name="f_cc_obligate3" value="" style="width: 150px;" class="yl_inp yw_name"></input>
										<span id="f_cc_obligate3_tip" class="tip"></span>
									</td>
									<td width="20%" align="right">
										<span class="red">*</span>预留字段4:
									</td>
									<td width="30%">
										<input id="f_cc_obligate4" name="f_cc_obligate4" value="" style="width: 150px;" class="yl_inp yw_name"></input>
										<span id="f_cc_obligate4_tip" class="tip"></span>
									</td>
								</tr>
							</table>
						</div>
					</fieldset>
					
					<fieldset class="hide-item">
						<div class="fitem">
							<table width="100%" border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td width="20%" align="right">
										是否免费:
									</td>
									<td width="30%">
										<input id="isfree" name="isfree" type="checkbox" style="width: 18px; height: 18px; line-height: 18px; border: #AEAEAC solid 1px; vertical-align: middle;"/>免费
									</td>
									<td class="hide-item" width="20%" align="right">
										&nbsp;完结状态:
									</td>
									<td class="hide-item" width="30%">
										<select id="f_cc_end" name="f_cc_end" style="width: 150px;">
				                    		<option value="0">未完结</option>
				                    		<option value="1">完结</option>
				                    	</select>									
									</td>
								</tr>
							</table>
						</div>
					</fieldset>
					
					<fieldset id="transfer_video_operation" class="hide">
						<div class="fitem">
							<table width="100%" border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td width="20%" align="right">
										&nbsp;转码视频上传/下载:
									</td>
									<td width="30%">
										<a class="easyui-linkbutton" data-options="iconCls:'icon-add'" href="#" data-toggle="modal" data-target="#stream_upload_modal" onclick="void(0)">上传</a>
										<a class="easyui-linkbutton" data-options="iconCls:'icon-remove'" href="javascript:downloadTransferVideo();" onclick="void(0)">下载</a>
									</td>
								</tr>
							</table>
						</div>
					</fieldset>
					
					<fieldset>
						<div class="fitem">
							<table width="100%" border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td width="40%" align="right">
										<jsp:include page="../pictures/pictures_update.jsp" flush="true">
											<jsp:param value="内容" name="picType"/>
											<jsp:param value="<%=f_cc_id %>" name="f_cp_relationid"/>
										</jsp:include>
									</td>
									
								</tr>
							</table>
						</div>
					</fieldset>
					
					
					<fieldset>
						<div class="fitem">
							<table width="100%" border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td width="10%" align="right">
										&nbsp;内容简介:
									</td>
									<td width="90%">
										<textarea id="f_cc_desc" name="f_cc_desc" style="width: 95%; height: 350px;"></textarea>
										<span id="f_cc_desc_tip" class="tip"></span>
									</td>
								</tr>
							</table>
						</div>
					</fieldset>
					<div class="toolbar" style="text-align: center;">
						<a class="easyui-linkbutton" data-options="iconCls:'icon-ok'"
							href="javascript:void(0);" onclick="_submitFm()">保存</a> <a
							href="javascript:void(0);" data-options="iconCls:'icon-cancel'"
							class="easyui-linkbutton"
							onclick="javascript:parent.$('#dlg').dialog('close')">取消</a>
							
							<a id="tg" style="display:none;" class="easyui-linkbutton" data-options="iconCls:'icon-ok'"
							href="javascript:void(0);" onclick="_gt()">通过</a>
							<a id="btg" style="display:none;" class="easyui-linkbutton" data-options="iconCls:'icon-cancel'"
							href="javascript:void(0);" onclick="_btg()">不通过</a>
					</div>
				</form>
			</div>
			
		</div>
		<!--主体 结束-->
	</div>
	<div id="cast_list" class="easyui-dialog"
		style="width: 600px; height: 470px; padding-top: 0px;"
		data-options="title:'模型选择', iconCls:'icon-save',modal:true,closed:true,buttons:'#dlg_buttons'">
		<iframe scrolling="auto" frameborder="0"
			style="width: 100%; height: 99%;"></iframe>
	</div>
	<div id="dlg" class="easyui-dialog"
		style="width: 800px; height: 500px; padding-top: 0px;"
		data-options="title:'企业管理', iconCls:'icon-save',modal:true,closed:true,buttons:'#dlg_buttons'">
		<iframe scrolling="auto" frameborder="0"
			style="width: 100%; height: 99%;"></iframe>
	</div>
	<div id="dlg_product" class="easyui-dialog"
		style="width: 800px; height: 500px; padding-top: 0px;"
		data-options="title:'产品管理', iconCls:'icon-save',modal:true,closed:true,buttons:'#dlg_buttons'">
		<iframe scrolling="auto" frameborder="0"
			style="width: 100%; height: 99%;"></iframe>
	</div>
	
	<jsp:include page="stream_upload_modal.jsp"></jsp:include>
	
	</body>
</html>
